package Com.amit.Exception;

public class Lab12 {

	public static void main(String[] args) {
		
		try
		{
			int a=20/0;
			System.out.println(a);
		}
		
		catch (ArithmeticException e) {
			
			System.out.println(e);	
		}
		
		finally
		{
			System.out.println("Finally block");
		}
		
		System.out.println("Rest of code");
	}

}
